package cn.tedu.ivos.application.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 482944566@qq.com
 * @version 1.0
 * @date 2024-12-08
 */
@Data
public class ApplicationVO {
    @ApiModelProperty(value = "申请表id")
    private Long id;

    @ApiModelProperty(value = "申请人id")
    private Long userId;

    @ApiModelProperty(value = "申请人姓名")
    private String username;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @ApiModelProperty(value = "用车开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @ApiModelProperty(value = "用车结束时间")
    private Date endTime;

    @ApiModelProperty(value = "驾照图片")
    private String imgUrl;

    @ApiModelProperty(value = "出发地")
    private String departureAddr;

    @ApiModelProperty(value = "目的地")
    private String destinationAddr;

    @ApiModelProperty(value = "申请原因")
    private String reason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "申请单状态")
    private String status;

    @ApiModelProperty(value = "分配车辆id")
    private Long vehicleId;

    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;

    @ApiModelProperty(value = "审批人id集合")
    private List<Long> auditUserIdList;

    @ApiModelProperty(value = "审批人姓名,字符串分隔")
    private String auditUsernameList;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @ApiModelProperty(value = "申请时间")
    private Date createTime;
}
